#!/usr/bin/perl
# remote-opt-get - command line apt interface
# Copyright 2006 by Pin-Shiun Chen (penkia) <penkia@gmail.com>
# This program is free software; 
# you can redistribute it and/or modify it under the same terms as Perl itself.
# See http://www.perl.com/perl/misc/Artistic.html

$ARGV[0] =~ s/opt-get/http/;
!system("wget $ARGV[0] -P /tmp") or die "$!\n";
!system("sudo opt-get install /tmp/$pkg_name.opt") or die "$!\n";
